package com.tengju.user.infrastructure.persistence.mybatis.mapper.dealer.custom;

import com.tengju.user.infrastructure.persistence.mybatis.dataobject.StarUserFeatureDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StarUserFeatureDOCustomMapper {

    int insertOrUpdateStarLevel(@Param("idCode") Long idCode, @Param("starLevel") Integer starLevel, @Param("updateBy") String updateBy);

    void insertOrUpdateInviteStarLevel(@Param("idCode") Long value, @Param("inviteStarLevel") Integer inviteStarLevel, @Param("updateBy") String updateBy);

    List<StarUserFeatureDO> listAll();

}